CMP#.WIDTHTYPE

Description

CMP#.WIDTHTYPE sets the type of duration of the output pulse generated by the setpoint. The duration can be either a value in the same units as CMP#.VAL or a time in ms.

It takes two command line arguments: the first specifies the setpoint, and the second specifies the duration type.

Examples

Usage

0: Value in CMP#.SOURCE units (default)

1: Time in ms

Code

The following commands set the duration for channel 1 setpoint 2 to value type, and channel 2 setpoint 7 to time type

--> CMP1.WIDTHTYPE 2 0

--> CMP2.WIDTHTYPE 7 1

Context

For more information please refer to Compare.

Versions

Action Version Notes
Implemented 02-06-00-000  

General Information

Type

Read/Write

Units

N/A

Range

0 to 1

Default Value

0

Data Type

Integer

See Also

CMP#.WIDTHT, CMP#.WIDTHVAL

Stored in Non-Volatile Memory

Yes

Variants Supported

All variants are supported.

Fieldbus Information

EtherNet/IP

ID

Instance

Attribute

Name

Data Type

Access

User Mappable

31480

1

31480 (0x7af8)

CMP1.WIDTHTYPE

Unsigned8[8]

Read/Write

Yes

31481

1

31481 (0x7af9)

CMP2.WIDTHTYPE

Unsigned8[8]

Read/Write

Yes

PROFINET

Parameter

PNU

Data Type

Access

Units

CMP1.WIDTHTYPE

31480

Unsigned8[8]

Read/Write

-

CMP2.WIDTHTYPE

31481

Unsigned8[8]

Read/Write

-